package com.godofgamblers.hotelmanagementsystem.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class User {
    private Integer user_id;
    private  String user_name;
    private  String user_account;
    private  String user_password;
    private  String user_phone;
    private  String user_image;
    private  Integer user_credit;
    private BigDecimal user_wallet;
    private Integer flag;
    private String code;
    private String code_phone;

    /*private List<Role> roles;
    private List<Perm> perms;*/

    //角色id
    private Integer role_id;
    //角色名称
    private String role_name;



    public User(String user_account,String user_password) {
        this.user_account = user_account;
        this.user_password=user_password;
    }
}
